import request from '@/utils/request'

// 发送
export function sendRadioStation(data) {
    return request({
        url: '/business/station/sendRadioStation',
        method: 'post',
        data: data
    })
}


// 接收
export function receiveRadioStation(data) {
    return request({
        url: '/business/station/receiveRadioStation',
        method: 'post',
        data: data
    })
}



// 获取接收聊天记录
export function receiveList(query) {
    return request({
        url: '/business/receive/list',
        method: 'get',
        params: query
    })
}


// 获取发送聊天记录
export function sendList(query) {
    return request({
        url: '/business/send/list',
        method: 'get',
        params: query
    })
}

// 获取发送记录
export function getSend(sendId) {
    return request({
        url: '/business/send/'+sendId,
        method: 'get'
    })
}
